If the trap server cannot receive trap packets from the switch, perform the following steps.
show snmp-server host
Check whether you configured the trap server correctly on the switch:
Switch:1>enable Switch:1#show snmp-server host ================================================================================ Notify Configuration ================================================================================ Notify Name Tag Type -------------------------------------------------------------------------------- Inform informTag inform Trap trapTag trap ================================================================================ Notify Profile Configuration ================================================================================ Params Name Profile Name -------------------------------------------------------------------------------- AuthNoPriv-md5 profile2 AuthPriv-md5 profile3 NoAuthNoPriv-md5 profile1 ================================================================================ Target Address Configuration ================================================================================ Target Name TDomain TAddress TMask -------------------------------------------------------------------------------- 4c20cc369925edbd1fe3cf8e2584c498 ipv4 47.17.142.155:162 55fca382ffba169e986783bbbdedc334 ipv4 47.17.143.57:162 ================================================================================ Target Address Configuration ================================================================================ Target Name Timeout Retry TagList Params MMS -------------------------------------------------------------------------------- 4c20cc369925edbd1fe3cf8e2584c498 1500 3 trapTag 4c20cc369925edbd1fe3cf8e2584c498 484 55fca382ffba169e986783bbbdedc334 1500 3 trapTag 55fca382ffba169e986783bbbdedc334 484 ================================================================================ Target Params Configuration ================================================================================ Target Name MP Model Security Name Sec Level -------------------------------------------------------------------------------- 4c20cc369925edbd1fe3cf8e2584c498 snmpv1 readview noAu thNoPriv 55fca382ffba169e986783bbbdedc334 snmpv2c secret noAu thNoPriv TparamV1 snmpv1 readview noAu thNoPriv TparamV2 snmpv2c readview noAu thNoPriv